package com.ruoyi.teaching.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;

/**
  * <p>
  *
  * </p>
  *
  * @author 王旭
  * @since 2024-10-14
  */
@Data
@TableName("platform_f_like")
@ApiModel(value="PlatformFLike对象", description="")
public class PlatformFLike implements Serializable {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "点赞id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "点赞的对象id")
    private Long objectId;

    @ApiModelProperty(value = "点赞给的人id")
    private Long likeToId;

    @ApiModelProperty(value = "点赞的是评论还是帖子（0帖子1评论）")
    private Integer likeType;

    @ApiModelProperty(value = "创建者id")
    private Integer createId;

    @ApiModelProperty(value = "创建者")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "更新者id")
    private Integer updateId;

    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "备注")
    private String remark;



}
